Skip to content

fix(aiokafka): keep Faust assignor for changelog tables and update admin request compatibility#676

Open
Mopsgeschwindigkeit wants to merge 2 commits intofaust-streaming:masterfrom
smaxtec:fix/aiokafka-013-compat-and-assignor
Open

fix(aiokafka): keep Faust assignor for changelog tables and update admin request compatibility#676
Mopsgeschwindigkeit wants to merge 2 commits intofaust-streaming:masterfrom
smaxtec:fix/aiokafka-013-compat-and-assignor

Conversation

@Mopsgeschwindigkeit
Copy link
Copy Markdown
Contributor

@Mopsgeschwindigkeit Mopsgeschwindigkeit commented Mar 31, 2026

Description

Ensure worker consumers use the Faust assignor whenever changelog tables are present, even with zero standby replicas, so table recovery mapping remains correct. Also update metadata/create-topics request construction for newer aiokafka APIs.

Also removed support for python3.9 and below.

Problems

  • If self.app.conf.table_standby_replicas = 0 the RoundRobinPartitionAssignor is used even is the app contains changelog_topics, which leads to a situation where changelog_topics are not consumed at the start of the app.

  • With newer version of aiokafka, some older api-version where deprecated.

…min request compatibility

Ensure worker consumers use the Faust assignor whenever changelog tables are present,
even with zero standby replicas, so table recovery mapping remains correct. Also update
metadata/create-topics request construction for newer aiokafka APIs.
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.05%. Comparing base (47201a6) to head (5275484).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #676      +/-   ##
==========================================
- Coverage   94.09%   94.05%   -0.04%     
==========================================
  Files         102      102              
  Lines       11108    11109       +1     
  Branches     1198     1198              
==========================================
- Hits        10452    10449       -3     
- Misses        557      559       +2     
- Partials       99      101       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Mopsgeschwindigkeit
Copy link
Copy Markdown
Contributor Author

@dada-engineer @patkivikram that one test "pypy3.9" fails during installation. Since python3.9 is EOL since end of last year. Could we remove support for python3.9 ?

@dada-engineer
Copy link
Copy Markdown
Collaborator

@dada-engineer @patkivikram that one test "pypy3.9" fails during installation. Since python3.9 is EOL since end of last year. Could we remove support for python3.9 ?

I think so yes. Ideally we make sure it is python 3.14 tested then

@Mopsgeschwindigkeit
Copy link
Copy Markdown
Contributor Author

@dada-engineer @patkivikram that one test "pypy3.9" fails during installation. Since python3.9 is EOL since end of last year. Could we remove support for python3.9 ?

I think so yes. Ideally we make sure it is python 3.14 tested then

Just had a look, python3.14 does not work out-of-the-box. So a separate PR would be a better option then adding it here.

@dada-engineer
Copy link
Copy Markdown
Collaborator

Just had a look, python3.14 does not work out-of-the-box. So a separate PR would be a better option then adding it here.

Makes sense.

@Mopsgeschwindigkeit
Copy link
Copy Markdown
Contributor Author

seems a like a maintainer has to remove python3.9 from the required checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants